package com.meilai.project.controller.web.market.vo;

import com.meilai.project.controller.web.market.dto.MarketBillDTO;
import com.meilai.project.controller.web.market.entity.BillMarket;
import com.meilai.project.controller.web.market.entity.BillMarketDesignPic;
import com.meilai.project.controller.web.market.entity.BillMarketShootRequirement;
import com.meilai.project.vo.business.intentionScheme.PointProcessDateRangeVO;
import com.meilai.project.vo.business.sale.MediaSpecTypeCountAmountVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.time.LocalDate;
import java.util.List;
import java.util.Map;

/**
 * @author xchen
 * @since 2022-01-20
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@ApiModel
public class MarketBillVO extends BillMarket {
    @ApiModelProperty(value = "当前人是否可以审核")
    private Boolean can_check;

    @ApiModelProperty(value = "当前人是否为提交人")
    private Boolean is_applier;

    @ApiModelProperty(value = "合同编号")
    private String contract_num;

    @ApiModelProperty(value = "客户名称")
    private String customer_name;

    @ApiModelProperty(value = "分公司名称")
    private String dept_name;

    @ApiModelProperty(value = "分公司抬头")
    private String companyName;

    @ApiModelProperty(value = "设计人员名称")
    private String userName;

    // todo 是否可上传
    @ApiModelProperty("是否可上传")
    private Boolean can_upload = false;

    @ApiModelProperty("市场单详情")
    private List<BillMarketDetailVO> billMarketDetailList;

    @ApiModelProperty("点位信息，详情时候返回，列表返回时返回空")
    private List<PointProcessDateRangeVO> dateRangeVOList;

    @ApiModelProperty("设计图列表")
    private List<BillMarketDesignPic> designPicList;
}
